TI-BASIC:Simplify Radicals

From Learn @ Cemetech
Jump to navigationJump to search

Routine Summary

Simplifies a square root radical.


X - the radical to simplify


A - the square factors of the radicand B - the remaining radicand

Variables Used

X, A, B, I

Calculator Compatibility

TI-83/84/+/SE Author

DarkerLineURL: United TI Download

file simplifyradicals.zip

:While I²≤B
:While not(fPart(B/I²

[*http://www.themathpage.com/alg/simplify-radicals.htm Simplifying radicals] involves finding the square factors that exist in the radicand (the number under the radical), and then moving them outside to the front of the radical. For example, if you have √48, you can reduce this to √(4*4*3, and 4 is a square factor of 2, so the finished simplified radical would be 4√3.

Our routine follows this same process when simplifying a radical. We start with setting A to 1 and B to X (so √(X) is written as 1√(X)). Then we go through every value I whose square could possibly divide B. If we find such a value, we divide B by its square, and multiply A by the value, taking it out of the square root. We know we're done when the value I² is bigger than B, so I² couldn't possibly divide B.

The finished radical will thus be A√(B). We have chosen not to display it on the screen, and instead leave it up to you how it gets displayed and used.