(Roots of Quadratic Equations) A, BB, and CC are selected at random and independently from the interval (0,1)(0,1).

mario99

Full Member
Joined
Aug 19, 2020
Messages
882
Three numbers AA, BB, and CC are selected at random and independently from the interval (0,1)(0,1). Determine the probability that the quadratic equation Ax2+Bx+C=0Ax^2 + Bx + C = 0 has real roots. In other words, what fraction of “all possible quadratic equations” with coefficients in (0,1)(0,1) have real roots?


The solution is

P(B24AC0)0.2544134189822131P(B^2 - 4AC \geq 0) \approx 0.2544134189822131

Is there an easy way to get this answer?
 
Three numbers AA, BB, and CC are selected at random and independently from the interval (0,1)(0,1). Determine the probability that the quadratic equation Ax2+Bx+C=0Ax^2 + Bx + C = 0 has real roots. In other words, what fraction of “all possible quadratic equations” with coefficients in (0,1)(0,1) have real roots?


The solution is

P(B24AC0)0.2544134189822131P(B^2 - 4AC \geq 0) \approx 0.2544134189822131

Is there an easy way to get this answer?
Find the CDF of B2B^2 and CDF of 4AC-4AC, then apply the convolution theorem.
 
Where did you get this answer? What topics did you recently learn?
Thank you.

I got it at the end of the book. I learnt how to find the CDF when the joint density ff is known.



Find the CDF of B2B^2 and CDF of 4AC-4AC, then apply the convolution theorem.
Thank you.

My attempt:

When a<0a < 0
FB2(a)=0F_{B^2}(a) = 0

When a1a \geq 1
FB2(a)=1F_{B^2}(a) = 1

When 0a<10 \leq a < 1
FB2(a)=0af(x) dx\displaystyle F_{B^2}(a) = \int_{0}^{a} f(x) \ dx

How to find the last one when f(x)f(x) is unknown?
 
Thank you.

My attempt:

When a<0a < 0
FB2(a)=0F_{B^2}(a) = 0

When a1a \geq 1
FB2(a)=1F_{B^2}(a) = 1

When 0a<10 \leq a < 1
FB2(a)=0af(x) dx\displaystyle F_{B^2}(a) = \int_{0}^{a} f(x) \ dx

How to find the last one when f(x)f(x) is unknown?
FB2(a)=Pr(B2a)=Pr(Ba)=FB(a)\displaystyle F_{B^2}(a) =\Pr(B^2\le a) = \Pr(B\le \sqrt{a})=F_{B}(\sqrt{a})
 
FB2(a)=Pr(B2a)=Pr(Ba)=FB(a)\displaystyle F_{B^2}(a) =\Pr(B^2\le a) = \Pr(B\le \sqrt{a})=F_{B}(\sqrt{a})
Ok. So far so good.

The domain of FB2(a)F_{B^2}(a) is
a<0a < 0
or
0a<10 \leq a < 1
or
a>1a > 1

How to find the domain of F4AC(a)F_{-4AC}(a)? Is it also similar to the above?
 
Ok you got the domain, what about the CDF itself?
FB2(a)={0,a<0a,0a<11,a1\displaystyle F_{B^2}(a) =\begin{cases}0, & a < 0\\ \sqrt{a}, & 0 \leq a < 1\\1, & a \geq 1\end{cases}


The book says, the domain of F4ACF_{-4AC} is
{a<44a<0a0\displaystyle \begin{cases}a < -4\\-4 \leq a < 0\\a \geq 0\end{cases}
I am confused!?
 
FB2(a)={0,a<0a,0a<11,a1\displaystyle F_{B^2}(a) =\begin{cases}0, & a < 0\\ \sqrt{a}, & 0 \leq a < 1\\1, & a \geq 1\end{cases}



The book says, the domain of F4ACF_{-4AC} is
{a<44a<0a0\displaystyle \begin{cases}a < -4\\-4 \leq a < 0\\a \geq 0\end{cases}
I am confused!?
It seems like you have the book solution. Do you not understand the solution?

Not sure what you're goal here. Find the CDF FAC(a)F_{AC}(a) first then the domain comes after.
 
It seems like you have the book solution. Do you not understand the solution?

Not sure what you're goal here. Find the CDF FAC(a)F_{AC}(a) first then the domain comes after.
The CDF of FB24AC(a)F_{B^2-4AC}(a) will need the convolution theorem. But the domain of F4AC(a)F_{-4AC}(a) will come first.

I don't understand why the domain is like this:

F4AC(a)={0,a<4f(a),4a<01,a0 F_{-4AC}(a) =\begin{cases}0, & a < -4\\ f(a), & -4 \leq a < 0\\1, & a \geq 0\end{cases}

We will find f(a) later with other techniques. I don't understand how they got this domain!

Note: They should fix their website. It is very slow. It takes 3 days or more to reply to one post!
 
Note: They should fix their website. It is very slow. It takes 3 days or more to reply to one post!
Who should fix whose website?
In general, you got a response back within a day, after posting your query!
 
Last edited:
The CDF of FB24AC(a)F_{B^2-4AC}(a) will need the convolution theorem. But the domain of F4AC(a)F_{-4AC}(a) will come first.

I don't understand why the domain is like this:

F4AC(a)={0,a<4f(a),4a<01,a0 F_{-4AC}(a) =\begin{cases}0, & a < -4\\ f(a), & -4 \leq a < 0\\1, & a \geq 0\end{cases}

We will find f(a) later with other techniques. I don't understand how they got this domain!

Note: They should fix their website. It is very slow. It takes 3 days or more to reply to one post!
No. The convolution is between B2B^2 and ACAC, not AA and CC

Follow the same approach as post#5 to find FACF_{AC} and the domain follows.
 
Who should fix whose website?
In general, you got a response back within a day, after posting your query!
Thank you for fixing the problem. It is working fine now.


No. The convolution is between B2B^2 and ACAC, not AA and CC

Follow the same approach as post#5 to find FACF_{AC} and the domain follows.
4ACa-4AC \leq a

Aa4C\displaystyle A \geq \frac{a}{-4C}
Or
Ca4A\displaystyle C \geq \frac{a}{-4A}

I still don't see how that domain was formed.
 
Thank you for fixing the problem. It is working fine now.



4ACa-4AC \leq a

Aa4C\displaystyle A \geq \frac{a}{-4C}
Or
Ca4A\displaystyle C \geq \frac{a}{-4A}

I still don't see how that domain was formed.
Or... ACa4\displaystyle AC \ge -\dfrac{a}{4}
 
No, you continue.
We know that.

0<A<1\displaystyle 0 < A < 1
And
0<C<1\displaystyle 0 < C < 1
Therefore.
0<AC<1\displaystyle 0 < AC < 1

When ACa4\displaystyle AC \geq -\frac{a}{4}, we see that a=0\displaystyle a = 0 and a=4\displaystyle a = -4 are the critical points.

Is this the reason for the domain to be...?

a<4\displaystyle a < -4
4a<0\displaystyle -4 \leq a < 0
a0\displaystyle a \geq 0
 
We know that.

0<A<1\displaystyle 0 < A < 1
And
0<C<1\displaystyle 0 < C < 1
Therefore.
0<AC<1\displaystyle 0 < AC < 1

When ACa4\displaystyle AC \geq -\frac{a}{4}, we see that a=0\displaystyle a = 0 and a=4\displaystyle a = -4 are the critical points.

Is this the reason for the domain to be...?

a<4\displaystyle a < -4
4a<0\displaystyle -4 \leq a < 0
a0\displaystyle a \geq 0
Yes.
 
Top