# Omit relative pronoun while connecting two relative clauses

The value of function f(x)=ax+b is positive when x is positive where a is non-negative real number and where b is positive integer.

Is there any difference as I omit the second "where" as follow?

The value of function f(x)=ax+b is positive when x is positive where a is non-negative real number and b is positive integer.

The comments in both following posts said it's syntactically fine.

The second post said it's unaesthetic. So, is it improper to omit the relative pronouns after the conjunction "and" in formal article? But why does the relative pronoun in textbooks seems like constantly been omitted? Or it's just some writing style?

For example:

and

• It's fine (actually quite normal) to omit it, but the person might have said it's unaesthetic because you are using two different subordinating conjunctions (that's what I'd call "when" and "where" in this sentence) for no apparent reason. (You're also missing a couple of determiners.) Commented May 23, 2022 at 20:48
• Thank you for point that out and forgive my poor grammars. I’ll try to bring the determiners back. Again thanks!
Commented May 24, 2022 at 10:12

You've got two different descriptions of the notation -- one for the coefficient values a and b, which are not variables of the function, and one for the range of x, which is a variable. They should be separated, and separately placed in the definition, so as not to confuse coefficients with range variables.

• The value of the function f(x)=ax+b (where a is a non-negative real number
and b is a positive integer) is positive whenever x is positive.

It's a good idea to have only one where to cover both coefficients, in the parenthesis, and then to use when (or, better, whenever, to indicate variability) for the variable.

• Thanks for your clear explanation it helps me a lot! After rearranging the sentence, it indeed look more pleasant than the one I wrote. Thank you!!