Factorising a Cubic: An Easy Way?

  • Context: Undergrad 
  • Thread starter Thread starter tmonk
  • Start date Start date
  • Tags Tags
    Cubic
Click For Summary
SUMMARY

The discussion focuses on deriving the variance formula for a continuous uniform distribution, specifically using the function f(x) = {1/(b-a) for a ≤ x ≤ b; 0 otherwise}. The user successfully derived the variance as Var[x] = (b-a)²/12 after utilizing Wolfram Alpha for cubic factorization. The numerator of the variance formula simplifies to (b-a)³, confirming the correctness of the derived formula. The user also inquired about easier methods for cubic factorization and shared insights on algebraic division.

PREREQUISITES
  • Understanding of continuous uniform distribution
  • Familiarity with variance calculations
  • Knowledge of polynomial factorization techniques
  • Experience with Wolfram Alpha for mathematical computations
NEXT STEPS
  • Research methods for polynomial factorization, specifically for cubic equations
  • Learn about variance in different probability distributions
  • Explore advanced features of Wolfram Alpha for mathematical problem-solving
  • Study algebraic division techniques in detail
USEFUL FOR

Mathematicians, statisticians, students studying probability theory, and anyone interested in understanding variance calculations for continuous distributions.

tmonk
Messages
3
Reaction score
0
I am attempting to derive the formula for the variance of a continuous uniform distribution where [tex]f(x) = \left\{ \begin{array}{ll}<br /> \frac{1}{b-a} & \mbox{$a \leq $x$ \leq b$};\\<br /> 0 & \mbox{otherwise}.\end{array} \right.[/tex]

I was successful, but only after using Wolfram Alpha to factorise the cubic.

By using [tex]Var[x] = \int_a^b \! x^{2}f(x)\, \mathrm{d}x - \mu^{2}[/tex]
I got this:[tex]\frac{b^{3} - a^{3} + 3a^{2}b - 3ab^{2}}{12(b-a)}[/tex]
The numerator just factorises to give (b-a)3, which gives the correct formula of [tex]\frac {(b-a)^{2}}{12}[/tex]

I tried using algebraic division to divide by the common factor of b-a, but I don't think I did it right. Is there an easy way to factorise the cubic?
 
Physics news on Phys.org
You should remember the formula

[tex](a+b)^n=\sum_{k=0}^n{\binom{n}{k}a^kb^{n-k}}[/tex]

well. It will come in handy a lot of time...

That said, it's always possible to factorize a cubic, but it's not always easy. See http://en.wikipedia.org/wiki/Cubic_equation
 
tmonk said:
I tried using algebraic division to divide by the common factor of b-a, but I don't think I did it right. Is there an easy way to factorise the cubic?

Just for fun.
Here's the method to do algebraic division on polynomials. :smile:

Code:
b-a | b[SUP]3[/SUP] - 3ab[SUP]2[/SUP] + 3a[SUP]2[/SUP]b - a[SUP]3[/SUP] | b[SUP]2[/SUP] ...
      b[SUP]3[/SUP] -  ab[SUP]2[/SUP]
      ----------
          -2ab[SUP]2[/SUP] + 3a[SUP]2[/SUP]b
          ...
@MM: Hey ;)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K