DGS Studio

Pascal's Triangle

Binomial Expansion

Expand (a+b)^n and show the Pascal row that supplies the coefficients.

(a + b)⁶ expands to a⁶ + 6a⁵b + 15a⁴b² + 20a³b³ + 15a²b⁴ + 6ab⁵ + b⁶. The coefficients 1, 6, 15, 20, 15, 6, 1 are row 6 of Pascal's triangle.

The general term is C(6, k) a⁶⁻ᵏ bᵏ. The row sums to 64, which is (1 + 1)⁶. The equation workflow shows the expansion. The graph cards draw the triangle the coefficients came from.

Equation

(a+b)^6

How the equation is solved

Solve Equation keeps the algebra steps, not a curve. A linear equation isolates the variable. A polynomial can have several roots. A result is kept exact when it is an integer, a fraction, or a simple radical, and an approximation is added only when that helps.

Some inputs are identities or contradictions. 0·x = 0 is true for every x. 0·x = 5 is true for none. A system followed by 'find' solves the equations first and then evaluates the requested expression. The editor below sends the text you leave in the field.

Reading the input

Try a change

Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.

Edit and generate

Solve Equation opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples