If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

New operator definitions 2

Worked examples of working with more newly defined operators. Created by Sal Khan.

Want to join the conversation?

  • mr pants teal style avatar for user Nimatullah Shaheed
    what is there was a qustion like this where the X and the + dont match If x⊗y=(8−x)(y) and x⊕y=x2−4y2, find 3⊗(4⊕−2).
    (4 votes)
    Default Khan Academy avatar avatar for user
    • leaf red style avatar for user Phi
      The expressions don't have to match in any way. The ⊕ would give you an expression of x and y, and so will the ⊗. Suppose you don't divide by zero or raise zero to its own exponent anywhere there, you'll get a number as a result (or an expression if you use parameters). Otherwise, the expression would simply be undefined, just as one over zero is undefined (although some people would say it's infinity, but they won't be able to answer if I told them to calculate infinity over infinity).

      There is an exponent for negative numbers, if that's what you were referring to.

      As for your example:

      3⊗(4⊕−2) = 3⊗[4²-4*(-2)²]
      3⊗(4⊕−2) = 3⊗[16-4*4]
      3⊗(4⊕−2) = 3⊗[16-16]
      3⊗(4⊕−2) = 3⊗[0]
      3⊗(4⊕−2) = (8-3)*0
      3⊗(4⊕−2) = 0

      The answer is 0. I hope that helps.
      (4 votes)
  • winston default style avatar for user Waikawa Walston
    What in the world is this!/!/!/!?/?/?/?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • mr pink red style avatar for user Razzmatazz
      Essentially Sal is defining a few new operators (that is, symbols just like the ones you're accustomed to using, like +, -, or ÷ ), which are indicated by the two circle symbols in the video. We already know what +, -, and ÷ do to two terms, we're familiar with those. We don't know what those new symbols do, though, so Sal is just attaching some rules to them.

      To clarify a bit more, we could define an operator, indicated by @ (this can be any symbol you like!). We could say that x@y = x+y. What we've just done is defined a new operator @ which does the exact same thing as a plus sign. x and y are variables, they can be any value! So for this example:
      1@1 = 1+1 = 2
      2@4 = 2+4 = 6
      2@7 = 2+7 = 9
      and so on.

      What's going on in the video is that Sal is just using a more complicated version of this. If x@y = x+3y (again, the symbol can be anything, we're just inventing it to play around), that means we can enter any values for x and y, and find out what the solution is based on that definition. For example:
      1@1 = 1+3*1 = 4
      2@3 = 2+3*3 = 11
      5@3 = 5+3*3 = 14
      and so on.

      The video's a slightly more intricate problem, as you've defined not one but TWO new operators. In order to find the answer, it's just important to make sure you follow the brackets to find the order of operations. We can't use PEMDAS here, because we aren't working with the traditional operators of +, -, and so on. So we have to follow the brackets: do the operations INSIDE the brackets first, then the ones outside.

      For more info Sal explains the process in more detail here: https://www.khanacademy.org/math/algebra/algebra-functions/new_operators/v/new-operator-definitions
      (2 votes)
  • female robot grace style avatar for user Holly Golightly
    How did he know (or decide) which equation to use where? He solves the second half of the whole equation using the first one. Then plugs that solution into the second one given. But ... How did he know (or decide) to do that? Would it have worked either way?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • mr pants green style avatar for user Manasv
    Why is pemdas a thing? Can we prove it or anything?? why is 4*3+4 16 and not 28??
    (1 vote)
    Default Khan Academy avatar avatar for user
    • blobby blue style avatar for user joshua
      Because it is how operations are defined.

      Multiplication of 2 numbers a and b means the result when a is added b times.
      a x b = a + a + ... + a (b times)

      Now if we expanded all multiplication, they are now on the same operation order.
      (2 votes)
  • blobby green style avatar for user Lajos Papp
    This process seems a little arbitrary, but I guess thats the point. How are you supposed to know that -2 becomes the X of the second equation?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • leafers ultimate style avatar for user Martin Charles
    What if a operator is defined multiple times? Is this undefined behavior?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • piceratops tree style avatar for user Kreg
    Question 2 on this video is this: Why are both operators defined with x and y. Why not have one operator defined with x and y and one defined with a and b. Or even xa and xb or something to differentiate the two sets a little more? What effect would labeling them differently have on the final product? So for instance...

    X & Y = 2X+3Y and x @ y = 7x + 2 find 7 & (4 @ 2) Hopefully my use of the & and @ are clear as replacements for other operator symbols. Wouldn't this have the same answer as x & y = 2x+3y and x @ y =7x+2 find 7 & (4 @ 2)? Or am I misunderstanding something intrinsic to this concept?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • piceratops tree style avatar for user Kreg
    In this video at he writes down 4(-2)^2. If in that example the -2 were instead a 0, or in any similar situation, would the exponent go inside the parenthesis or outside. Even though the answer is the same. 4(0)^2 = 4(0^2). And more importantly where should I go to learn the reasons why, and how to implement the rule later?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user Kevin Hoffman
      one for zero its doesn't matter as this is all multiplying 0 by 0 or by the 4 so it equals zero but to the first question . think of it like this 0^2+0^2+0^2+0^2 which is multiplying now pemdas exponents first whats 0^2? 0 so now you got 0+0+0+0=0 it can go in it or not as its the same as (0)^2 is that same as (0^2) think of parenthesis as a section you have as a whole, and the whole thing is ^2 but the whole is 0 and the whole is ^2 or putting it inside is still making that specific whole ^2 so it is still he same but with binomials in parenthesis don't as you can as (for example) (x+y)^2 is (again the wholes) (x+y)(x+y) not (x^2+y^2) so only for 1 term you can do this. check quadratics to explain binomials and beyond etc and check out a section teaching parenthesis to help
      (1 vote)
  • blobby green style avatar for user Aniket Biswas
    we know,
    i^2= -1 [by the of definition of 'i']
    => i.i= -1
    => underroot(-1).underroot(-1)= -1
    => underroot{(-1).(-1)}= -1
    => underroot(+1)= -1
    => +1= -1 ......why
    (1 vote)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user stephbar08
    f(x)=2x+3. Determine the domain and range.
    (1 vote)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user David Peterson
      In this function, will you ever encounter an issue such as dividing by zero, or square roots of negative numbers? And right now you're scratching your head because we don't have division or square roots in this equation. So x can be any real number and the function can double that number and add three to it. No problem. Since this is not a horizontal line then the range is also all real numbers.
      (1 vote)

Video transcript

If x-- and the operator here is this x with a circle around it, so maybe we'll call it circle-x. If x circle-x y is equal to x plus 3y, and x-- I'll call that circle-plus. So it's not plus, it's a different operator. It's a new operation, and we're defining it here. And x circle-plus y is equal to 4x squared minus y squared, find negative 2 circle-plus the quantity three circle-cross, or circle-x minus 1. So if we just break it down, we use these definitions, it should hopefully be pretty straightforward. So let's evaluate 3 circle-x negative 1. So 3 circle-x negative 1. Well, they define that as whatever is x plus 3 times whatever is y. So this is going to be whatever is x, so that is our 3, plus 3 times whatever is y. Well, that's going to be negative 1. So this is 3 plus negative 3, which is equal to 0. So this whole part right over here is equal to 0. So our entire expression simplifies down to negative 2 circle-plus 0. And now we can use this definition right here. x circle-plus y is equal to 4x squared minus y squared. So in this situation, our x-- let me circle it over here. Our x is negative 2 , and our y is 0. So this is going to be equal to-- it's going to be equal to 4 times x squared. So that's negative 2 squared. 4 times negative 2 squared minus y squared. Well, y is just 0. Minus 0 squared. And 0 squared is obviously just 0. And so this simplifies to 4 times negative 2 squared. Negative 2 squared is positive 4. So it's 4 times 4. So it simplifies to 4 times 4, which is equal to 16. And we're done.