The quadratic is f(x)=ax2+22bx+c with a,b,c∈{1,2,3,4}.
For f(x)>0 for all real x, two conditions must hold:
1. Leading coefficient a>0 (already true because a≥1).
2. Discriminant Δ is negative.
Compute the discriminant:
Δ=(22b)2−4ac=8b2−4ac=4(2b2−ac).
Hence Δ<0⟺2b2−ac<0⟺2b2<ac.
Total number of ordered triples (a,b,c) is 43=64.
We now count the favourable triples that satisfy 2b2<ac.
Case a = 1:
Condition becomes 2b2<c.
• b=1: 2<c⇒c=3,4(2 choices)
• b=2,3,4: 2b2≥8>4, no solutions.
Favourable triples = 2.
Case a = 2:
Condition becomes b2<c.
• b=1: 1<c⇒c=2,3,4(3 choices)
• b=2,3,4 give b2≥4, but c≤4; no solutions.
Favourable triples = 3.
Case a = 3:
Condition becomes 2b2<3c. Check each c:
• c=1: need 2b2<3⇒b=1(1 choice)
• c=2: need 2b2<6⇒b=1(1)
• c=3: need 2b2<9⇒b=1,2(2)
• c=4: need 2b2<12⇒b=1,2(2)
Favourable triples = 1+1+2+2=6.\
Case a = 4:
Condition becomes b2<2c. Check each c:
• c=1: b2<2⇒b=1(1)
• c=2: b2<4⇒b=1(1)
• c=3: b2<6⇒b=1,2(2)
• c=4: b2<8⇒b=1,2(2)
Favourable triples = 1+1+2+2=6.\
Total favourable triples = 2+3+6+6=17.
Therefore, required probability =6417.
Here gcd(17,64)=1, so m=17,n=64.
Finally, m+n=17+64=81.
Answer: 81